<?php
/*
 * Created on Apr 1, 2006
 *
 */
 
 
 
 
 class Sql_connection {
 	
 	
 	function __construct() {
 			//get mysql to output in utf8
 		//ini_set('mbstring.internal_encoding','UTF-8');
 		//ini_set('mbstring.http_input','UTF-8');
 		//ini_set('mbstring.http_output','UTF-8');
 
		mysql_query("SET CHARACTER SET utf8") 
			or die ("Set UTF8 db error: " . mysql_error());
		mysql_query("SET NAMES 'utf8'") 
			or die ("Set UTF8 db error: " . mysql_error());
 	}
 	
 }
?>